<!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
<stack>
<name>in.3</name>
<id>-1</id>
<cardCount>6</cardCount>
<cardID>2879</cardID>
<listID>6408</listID>
<cantModify><false /></cantModify>
<cantDelete><false /></cantDelete>
<cantAbort><false /></cantAbort>
<cardSize>
<width>512</width>
<height>342</height>
</cardSize>
<script>on openStackglobal DefaultLoudnessput getVolume() into DefaultLoudnessVolume 3if the userLevel < 3 then set the userLevel to 3set the textArrows to truehide message boxif the top of card window <= 30 then hide menubardelete menu "Edit"delete menu "Go"delete menu "Tools"delete menu "Objects"delete menu "Font"delete menu "Style"CustomMenuif the version of HyperCard < 2 thenanswer "Sorry, HyperCard 2.0 or later is required."doMenu "Quit HyperCard"end ifend openStackon closeStackglobal DefaultLoudnessif freeSize of this stack >= 10000 thenput "Compacting Stack... ("& ¬freeSize of this stack&" of "&size of this stack&")"doMenu "Compact Stack"put emptyend ifhide message boxreset menuBarVolume DefaultLoudnessend closeStackon CustomMenuif there is no menu "Machine" then create menu "Machine"put "Run,Step" into menu "Machine" with menuMsgs "RunMachine,StepMachine"put "-" after menuItem 2 of menu "Machine"repeat with N = 1 to number of cards in background "Machine"put background field "MachineTitle" ¬of card N of background "Machine" ¬after menuItem 2+N of menu "Machine"end repeatset commandChar of menuItem 1 of menu "Machine" to "R"set commandChar of menuItem 2 of menu "Machine" to "S"end CustomMenuon doMenu item,menuif (menu = "Machine") and (item <> "Run") and (item <> "Step") thenrepeat with N = 1 to number of cards in background "Machine"if item = background field "MachineTitle" ¬of card N of background "Machine" thenvisual effect scroll upgo card N of background "Machine"exit repeatend ifend repeatelsepass doMenuend ifend doMenu</script>